<?php
namespace app\model;
use think\model\concern\SoftDelete;
class ProductSpecsName extends BaseModel
{
    use SoftDelete;
    protected $deleteTime='delete_time';
    protected $autoWriteTimestamp = true;
    
    public function specevalue()
    {
        return $this->hasMany(ProductSpecsValue::class,'specs_name_id')->visible(['id','value']);
    }
}